﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ET.DataAccess;
using ET.Entity;

public partial class Backend_Service : System.Web.UI.Page
{
    DaServiceInfo daServiceInfo = new DaServiceInfo();

    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnSubmit_Click(object sender, EventArgs e)
    {
        EtServiceInfo serviceInfo = new EtServiceInfo()
        {
            ServiceName = txtService.Text,            
        };
        daServiceInfo.Insert(serviceInfo);
        Response.Redirect("ServiceList.aspx");
    }
}